Component org.nuxeo.ecm.platform.routing.escalation.scheduler.config
In bundle org.nuxeo.ecm.platform.routing.core
Resolution Order
754
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.routing.escalation.scheduler.config--schedule
- org.nuxeo.ecm.platform.routing.escalation.scheduler.config--configuration
- org.nuxeo.ecm.platform.routing.escalation.scheduler.config--actions
- org.nuxeo.ecm.platform.routing.escalation.scheduler.config--streamProcessor
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.escalation.scheduler.config">
<extension target="org.nuxeo.ecm.platform.scheduler.core.service.SchedulerRegistryService" point="schedule">
<schedule id="escalationScheduler">
<eventId>executeEscalationRules</eventId>
<eventCategory>escalation</eventCategory>
<!-- every 5 mins -->
<cronExpression>0 0/5 * * * ?</cronExpression>
</schedule>
</extension>
<extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
<property name="nuxeo.document.routing.escalation.running.flag.ttl.duration">3m</property>
</extension>
<extension target="org.nuxeo.ecm.core.bulk" point="actions">
<action name="documentRoutingEscalation" inputStream="bulk/documentRoutingEscalation" bucketSize="25"
batchSize="5" exclusive="true" />
</extension>
<extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
<streamProcessor name="DocumentRoutingEscalationAction"
class="org.nuxeo.ecm.platform.routing.core.bulk.DocumentRoutingEscalationAction"
defaultConcurrency="${nuxeo.bulk.action.documentRoutingEscalation.defaultConcurrency:=2}"
defaultPartitions="${nuxeo.bulk.action.documentRoutingEscalation.defaultPartitions:=4}">
<policy name="default" maxRetries="3" delay="500ms" maxDelay="10s" continueOnFailure="true" />
</streamProcessor>
</extension>
</component>